package com.lzxuni.modules.qualityAssurance.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.lzxuni.modules.common.entity.FileEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.eclipse.jetty.util.Fields;

/**
 * <p>
 * 产品抽检
 * </p>
 *
 * @author wzx
 * @since 2019-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("base_product_sampling")
public class ProductSampling implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private String samplingId;

    /**
     * 产品id
     */
    private String productId;

    /**
     * 举证内容
     */
    private String content;

    /**
     * 抽检人id
     */
    private String userId;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(exist = false)
    private List<FileEntity> fileEntityList;

    @TableField(exist = false)
    private String traceabilityCode;

    @TableField(exist = false)
    private String productName;

    @TableField(exist = false)
    private String enterpriseName;

    @TableField(exist = false)
    private List<ProductSamplingIndex> productSamplingIndexList;
}
